#include <QApplication>
#include "stringlistmodel.h"
#include <QStringList>
#include <QListView>



int main(int argc,char* argv[])
{
    QApplication a(argc,argv);

    QStringList list;
    list<<"China"<<"USA"<<"UK"<<"sb";

    stringlistmodel model(list);

    QListView view;
    view.setModel(&model);
    view.show();

    return a.exec();
}
